package com.xinsilu.hospital.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("Listofnoninpatientitems")
@ApiModel(value="Listofnoninpatientitems对象", description="")
public class Listofnoninpatientitems implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "病人id")
    @TableField("patient_id")
    private Integer patientId;

    @ApiModelProperty(value = "项目id")
    @TableField("project_id")
    private Integer projectid;

    @ApiModelProperty(value = "是否检查")
    private String sfjiancha;


    @ApiModelProperty(value = "时间")
    private String date;

    @ApiModelProperty(value = "合计")
    private String total;

    @ApiModelProperty(value = "次数")
    private String cishu;

    @ApiModelProperty(value = "已收金额")
    private String yishou;

    @TableField(exist = false)
    ProjectTable projectTable;
    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private double cost;
}
